package com.ceuer.demo.dubbo.controller;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.HashMap;
import java.util.Map;

@RestController
public class TestController {
	@RequestMapping({"/","/index"})
	public Map<String,Object> test1(){
		Map<String,Object> data=new HashMap<>();
		data.put("msg", "hello,world!");
		data.put("flag", true);
		return data;
	}
}